package com.quaidi.smartlocker.dto;

import javax.validation.constraints.NotBlank;

/**
 * 包裹取件请求DTO
 * 
 * @author QuaiDi
 * @since 2025-08-26
 */
public class PackagePickupRequest {

    /**
     * 取件码
     */
    @NotBlank(message = "取件码不能为空")
    private String pickupCode;

    /**
     * 收件人电话（用于验证身份）
     */
    @NotBlank(message = "收件人电话不能为空")
    private String recipientPhone;

    // Getter and Setter methods
    public String getPickupCode() {
        return pickupCode;
    }

    public void setPickupCode(String pickupCode) {
        this.pickupCode = pickupCode;
    }

    public String getRecipientPhone() {
        return recipientPhone;
    }

    public void setRecipientPhone(String recipientPhone) {
        this.recipientPhone = recipientPhone;
    }
}